package com.example.reflection.service.impl;

import com.example.reflection.service.UserService;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {

    private static final String str1 = "获取全部用户";
    private static final String str2 = "获取单个用户";

    public final String str3 = "父类public成员属性";

    @Override
    public void findAll() {
         System.out.println(str1);
    }

    @Override
    public void selectOne() {
        System.out.println(str2);
    }

}
